/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ca.trader.except;

import ca.trader.user.User;

/**
 * Thrown to indicate a UserPendingActivationDesc object already exists
 *
 * @author W4L3
 */
public class UserAlreadyExistsPendingActivationException extends Exception
{

	 private User user;

	 public User getUser()
	 {
		  return user;
	 }

	 public UserAlreadyExistsPendingActivationException(User user)
	 {

		  super("User with email address " + user.getEmail() + " already exists, is pending activation.  Activation email resent.");
	 }

}
